package com.generic.test03.demo2;

/**
 * @author bin
 * @date 2025 - 03 -27
 **/
public class MainTest02 {
    public static void main(String[] args) {
        MyArrayList2<String> list = new MyArrayList2<>();

        list.add("adc");
        System.out.println(list);

        System.out.println("容量：" + list.size());

        System.out.println("是否为空：" + list.isEmpty());

        System.out.println("数据：" + list);

        System.out.println("删除元素为：" + list.remove(0));
    }
}
